﻿/**
 * ...
 * @author George Mavchun
 */

package gui.hug.priv;

import flash.text.TextField;
import flash.text.TextFormat;
import gui.hug.HUGFont;

class HUGTextField extends TextField
{

	public function new() 
	{
		super();
		this.setTextFormat(new TextFormat("Verdana", 12));
	}
	
	public function setSize(width : Int, height : Int) {
		this.height = height;
		this.width = width;
	}
	
	public function setLocation(left : Float, top : Float) {
		this.x = left;
		this.y = top;
	}
	
	public function getText() : String {
		return this.text;
	}
}